package com.itic.im.demo.handler;

import com.corundumstudio.socketio.AckRequest;
import com.corundumstudio.socketio.SocketIOClient;
import com.corundumstudio.socketio.annotation.OnEvent;
import com.itic.im.core.ImManager;
import com.itic.im.core.constants.IMConstants;
import com.itic.im.core.handler.DefaultEventHandler;
import com.itic.im.core.util.SoMap;
import org.springframework.stereotype.Component;

/**
 * TODO
 *
 * @author ywl
 * @version 1.0
 * @date 2022/1/19 14:37
 */
@Component
public class ImEventHandler extends DefaultEventHandler {
    /**
     * 消息推送 自定义事件
     *
     * @param client
     * @param request
     * @param data
     */
    @OnEvent("自定义")
    public void onEvent2(SocketIOClient client, AckRequest request, SoMap data) {

    }
}
